﻿using System;

class IntComparison
{
    static void Main()
    {
        Console.WriteLine("Enter three integer numbers:");

        int firstNum = int.Parse(Console.ReadLine());
        int secondNum = int.Parse(Console.ReadLine());
        int thirdNum = int.Parse(Console.ReadLine());
        int biggerNum;

        biggerNum = GetMax(firstNum, secondNum);
        biggerNum = GetMax(biggerNum, thirdNum);

        Console.WriteLine("The biggest number is: " + biggerNum);
    }

    static int GetMax(int firstInt, int secondInt)
    {
        if (firstInt > secondInt)
        {
            return firstInt;
        }

        return secondInt;
    }
}
